<!DOCTYPE html>
<html>
<head>
<include file="Include:meta" />
<title>项目资料-目的地运营集团数据管理平台</title>
<include file="Include:style" />
<link rel="stylesheet" href="__PUBLIC__/mobile/css/mobiscroll.min.css">
</head>
<body>
<div class="header">
	<a href="__APP__/Mobile/Crm/project_list" class="back_btn"></a>
	项目资料
	<!--<a href="javascript:;" class="header_txt_btn add_btn_new"></a>-->
	<a class="menu_btn_new" href="javascript:;"><span class="sp1"></span><span class="sp2"></span><span class="sp3"></span></a>
</div>
<include file="Include:crm_commu_menu" />
<div class="pro_det">
	<div class="pro_det_title">
        <img class="det_bg" src="__PUBLIC__/mobile/images/project/det_bg.jpg">
        <div class="txt">
            <h3>[{$project['project_num']}]</h3>
            <p>{$project['name']}</p>
        </div>
    </div>
	<div class="form_item">
		<div class="form_table all pb15">
			<table cellspacing="0">
					<if condition="$result eq NULL">
						<div class="no_data_list">
							暂无相关数据
						</div>
					</if>
					<foreach name="result" item="vo">
					<tr style="background-color:#FFB90F">
						<td class="form_table_left"><font color="white">文件名</font></td>
						<td class="form_table_right fz14"><font color="white">{$vo['file_name']}</font></td>
					</tr>
					<tr>
						<td class="form_table_left">查看地址</td>
						<td class="form_table_right fz14">
							<a href="{$vo['file_url']}" class="ml5" title="下载">{$vo['file_name']}</a>
						</td>
					</tr>
					</foreach>
				</if>
			</table>
		</div>
	</div>
</div>
<!-- 弹出框 -->
<div class="card_fix">
    <div class="tit"><a class="back_btn" href="javascript:;"></a>添加资料</div>
    <div class="modal_body">

    </div>
</div>
<include file="Include:javascript" />
<script>
    $(function(){
        menu_new();
		//新增
		$(".add_btn_new").click(function (){
			$('.card_fix').fadeIn().find('.modal_body').load("__APP__/Mobile/Crm/project_file_add/project_id/{$project['project_id']}");
            $('.card_fix').fadeIn().find('.tit').html('<a class="back_btn" href="javascript:;"></a>添加资料')
		});
    })
</script>
</body>
</html>